package com.campus.entity.Library;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.sql.Timestamp;

import lombok.Data;

/**
 * @TableName library_seat
 */
@TableName(value ="library_seat")
@Data
public class LibrarySeat implements Serializable {

    public LibrarySeat(Integer floor,Integer rows,Integer column){
        this.floor=floor;
        this.libRow=rows;
        this.libCol=column;
    }
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer floor;

    @TableField(value = "lib_rows")
    private Integer libRow;

    @TableField(value = "lib_cols")
    private Integer libCol;

    private Timestamp endTime;

    private String account;

    private static final long serialVersionUID = 1L;

}